Multiprocessor computer architecture incorporating a plurality of memory algorithm processors in the memory subsystem

ABSTRACT

A multiprocessor computer architecture incorporating a plurality of programmable hardware memory algorithm processors (“MAP”) in the memory subsystem. The MAP may comprise one or more field programmable gate arrays (“FPGAs”) which function to perform identified algorithms in conjunction with, and tightly coupled to, a microprocessor and each MAP is globally accessible by all of the system processors for the purpose of executing user definable algorithms. A circuit within the MAP signals when the last operand has completed its flow thereby allowing a given process to be interrupted and thereafter restarted. Through the use of read only memory (“ROM”) located adjacent the FPGA, a user program may use a single command to select one of several possible pre-loaded algorithms thereby decreasing system reconfiguration time. A computer system memory structure MAP disclosed herein may function in normal or direct memory access (“DMA”) modes of operation and, in the latter mode, one device may feed results directly to another thereby allowing pipelining or parallelizing execution of a user defined algorithm. The system of the present invention also provides a user programmable performance monitoring capability and utilizes parallelizer software to automatically detect parallel regions of user applications containing algorithms that can be executed in the programmable hardware.

RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 10/339,133, filed Jan. 8, 2003 now U.S. Pat. No. 6,961,841, which is a continuation of U.S. patent application Ser. No. 09/755,744, filed Jan. 5, 2001, now abandoned, which is a divisional of U.S. patent application Ser. No. 09/481,902, filed Jan. 12, 2000, U.S. Pat. No. 6,247,110, which is a continuation of U.S. patent application Ser. No. 08/992,763, filed Dec. 17,1997, U.S. Pat. No. 6,076,152, the disclosures of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

The present invention relates, in general, to the field of computer architectures incorporating multiple processing elements. More particularly, the present invention relates to a multiprocessor computer architecture incorporating a number of memory algorithm processors in the memory subsystem to significantly enhance overall system processing speed.

All general purpose computers are based on circuits that have some form of processing element. These may take the form of microprocessor chips or could be a collection of smaller chips coupled together to form a processor. In any case, these processors are designed to execute programs that are defined by a set of program steps. The fact that these steps, or commands, can be rearranged to create different end results using the same computer hardware is key to the computer's flexibility. Unfortunately, this flexibility dictates that the hardware then be designed to handle a variety of possible functions, which results in generally slower operation than would be the case were it able to be designed to handle only one particular function. On the other hand, a single function computer is inherently not a particularly versatile computer.

Recently, several groups have begun to experiment with creating a processor out of circuits that are electrically reconfigurable. This would allow the processor to execute a small set of functions more quickly and then be electrically reconfigured to execute a different small set. While this accelerates some program execution speeds, there are many functions that cannot be implemented well in this type of system due to the circuit densities that can be achieved in reconfigurable integrated circuits, such as 64-bit floating point math. In addition, all of these systems are presently intended to contain processors that operate alone. In high performance systems, this is not the case. Hundreds or even tens of thousands of processors are often used to solve a single problem in a timely manner. This introduces numerous issues that such reconfigurable computers cannot handle, such as sharing of a single copy of the operating system. In addition, a large system constructed from this type of custom hardware would naturally be very expensive to produce.

SUMMARY OF THE INVENTION

In response to these shortcomings, SRC Computers, Inc., Colorado Springs, Colo., assignee of the present invention, has developed a Memory Algorithm Processor (“MAP”) multiprocessor computer architecture that utilizes very high performance microprocessors in conjunction with user reconfigurable hardware elements. These reconfigurable elements, referred to as MAPs, are globally accessible by all processors in the systems. In addition, the manufacturing cost and design time of a particular multiprocessor computer system is relatively low inasmuch as it can be built using industry standard, commodity integrated circuits and, in a preferred embodiment, each MAP may comprise a Field Programmable Gate Array (“FPGA”) operating as a reconfigurable functional unit.

Particularly disclosed herein is the utilization of one or more FPGAs to perform user defined algorithms in conjunction with, and tightly coupled to, a microprocessor. More particularly, in a multiprocessor computer system, the FPGAs are globally accessible by all of the system processors for the purpose of executing user definable algorithms.

In a particular implementation of the present invention disclosed herein, a circuit is provided either within, or in conjunction with, the FPGAs which signals, by means of a control bit, when the last operand has completed its flow through the MAP, thereby allowing a given process to be interrupted and thereafter restarted. In a still more specific implementation, one or more read only memory (“ROM”) integrated circuit chips may be coupled adjacent the FPGA to allow a user program to use a single command to select one of several possible algorithms pre-loaded in the ROM thereby decreasing system reconfiguration time.

Still further provided is a computer system memory structure which includes one or more FPGAs for the purpose of using normal memory access protocol to access it as well as being capable of direct memory access (“DMA”) operation. In a multiprocessor computer system, FPGAs configured with DMA capability enable one device to feed results directly to another thereby allowing pipelining or parallelizing execution of a user defined algorithm located in the reconfigurable hardware. The system and method of the present invention also provide a user programmable performance monitoring capability and utilizes parallelizer software to automatically detect parallel regions of user applications containing algorithms that can be executed in programmable hardware.

Broadly, what is disclosed herein is a computer including at least one data processor for operating on user data in accordance with program instructions. The computer includes at least one memory array presenting a data and address bus and comprises a memory algorithm processor associated with the memory array and coupled to the data and address buses. The memory algorithm processor is configurable to perform at least one identified algorithm on an operand received from a write operation to the memory array.

Also disclosed herein is a multiprocessor computer including a first plurality of data processors for operating on user data in accordance with program instructions and a second plurality of memory arrays, each presenting a data and address bus. The computer comprises a memory algorithm processor associated with at least one of the second plurality of memory arrays and coupled to the data and address bus thereof. The memory algorithm processor is configurable to perform at least one identified algorithm on an operand received from a write operation to the associated one of the second plurality of memory arrays.

BRIEF DESCRIPTION OF THE DRAWINGS

The aforementioned and other features and objects of the present invention and the manner of attaining them will become more apparent and the invention itself will be best understood by reference to the following description of a preferred embodiment taken in conjunction with the accompanying drawings, wherein:

FIG. 1 is a simplified, high level, functional block diagram of a standard multiprocessor computer architecture;

FIG. 2 is a simplified logical block diagram of a possible computer application program decomposition sequence for use in conjunction with a multiprocessor computer architecture utilizing a number of memory algorithm processors (“MAPs”) in accordance with the present invention;

FIG. 3 is a more detailed functional block diagram of an individual one of the MAPs of the preceding figure and illustrating the bank control logic, memory array and MAP assembly thereof; and

FIG. 4 is a more detailed functional block diagram of the control block of the MAP assembly of the preceding illustration illustrating its interconnection to the user FPGA thereof.

DESCRIPTION OF A PREFERRED EMBODIMENT

With reference now to FIG. 1, a conventional multiprocessor computer 10 architecture is shown. The multiprocessor computer 10 incorporates N processors 12 ₀ through 12 _(N) which are bi-directionally coupled to a memory interconnect fabric 14. The memory interconnect fabric 14 is then also coupled to M memory banks comprising memory bank subsystems 16 ₀ (Bank 0) through 16 _(M) (Bank M).

With reference now to FIG. 2, a representative application program decomposition for a multiprocessor computer architecture 100 incorporating a plurality of memory algorithm processors in accordance with the present invention is shown. The computer architecture 100 is operative in response to user instructions and data which, in a coarse grained portion of the decomposition, are selectively directed to one of (for purposes of example only) four parallel regions 102 ₁ through 102 ₄ inclusive. The instructions and data output from each of the parallel regions 102 ₁ through 102 ₄ are respectively input to parallel regions segregated into data areas 104 ₁ through 104 ₄ and instruction areas 106 ₁ through 106 ₄. Data maintained in the data areas 104 ₁ through 104 ₄ and instructions maintained in the instruction areas 106 ₁ through 106 ₄ are then supplied to, for example, corresponding pairs of processors 108 ₁, 108 ₂ (P1 and P2); 108 ₃, 108 ₄ (P3 and P4); 108 ₅, 108 ₆ (P5 and P6); and 108 ₇, 108 ₈ (P7 and P8) as shown. At this point, the medium grained decomposition of the instructions and data has been accomplished.

A fine grained decomposition, or parallelism, is effectuated by a further algorithmic decomposition wherein the output of each of the processors 108 ₁ through 108 ₉ is broken up, for example, into a number of fundamental algorithms 110 _(1A), 110 _(1B), 110 _(2A), 110 _(2B) through 110 _(8B) as shown. Each of the algorithms is then supplied to a corresponding one of the MAPs 112 _(1A), 112 _(1B), 112 _(2A), 112 _(2B) through 112 _(8B) in the memory space of the computer architecture 100 for execution therein as will be more fully described hereinafter.

With reference additionally now to FIG. 3, a preferred implementation of a memory bank 120 in a MAP system computer architecture 100 of the present invention is shown for a representative one of the MAPs 112 illustrated in the preceding figure. Each memory bank 120 includes a bank control logic block 122 bi-directionally coupled to the computer system trunk lines, for example, a 72 line bus 124. The bank control logic block 122 is coupled to a bi-directional data bus 126 (for example 256 lines) and supplies addresses on an address bus 128 (for example 17 lines) for accessing data at specified locations within a memory array 130.

The data bus 126 and address bus 128 are also coupled to a MAP assembly 112. The MAP assembly 112 comprises a control block 132 coupled to the address bus 128. The control block 132 is also bi-directionally coupled to a user field programmable gate array (“FPGA”) 134 by means of a number of signal lines 136. The user FPGA 134 is coupled directly to the data bus 126. In a particular embodiment, the FPGA 134 may be provided as a Lucent Technologies OR3T80 device.

The computer architecture 100 comprises a multiprocessor system employing uniform memory access across common shared memory with one or more MAPs 112 located in the memory subsystem, or memory space. As previously described, each MAP 112 contains at least one relatively large FPGA 134 that is used as a reconfigurable functional unit. In addition, a control block 132 and a preprogrammed or dynamically programmable configuration read-only memory (“ROM” as will be more fully described hereinafter) contains the information needed by the reconfigurable MAP assembly 112 to enable it to perform a specific algorithm. It is also possible for the user to directly download a new configuration into the FPGA 134 under program control, although in some instances this may consume a number of memory accesses and might result in an overall decrease in system performance if the algorithm was short-lived.

FPGAs have particular advantages in the application shown for several reasons. First, commercially available, off-the-shelf FPGAs now contain sufficient internal logic cells to perform meaningful computational functions. Secondly, they can operate at speeds comparable to microprocessors, which eliminates the need for speed matching buffers. Still further, the internal programmable routine resources of FPGAs are now extensive enough that meaningful algorithms can now be programmed without the need to reassign the locations of the input/output (“I/O”) pins.

By placing the MAP 112 in the memory subsystem or memory space, it can be readily accessed through the use of memory read and write commands, which allows the use of a variety of standard operating systems. In contrast, other conventional implementations propose placement of any reconfigurable logic in or near the processor. This is much less effective in a multiprocessor environment because only one processor has rapid access to it. Consequently, reconfigurable logic must be placed by every processor in a multiprocessor system, which increases the overall system cost. In addition, MAP 112 can access the memory array 130 itself, referred to as Direct Memory Access (“DMA”), allowing it to execute tasks independently and asynchronously of the processor. In comparison, were it were placed near the processor, it would have to compete with the processors for system routing resources in order to access memory, which deleteriously impacts processor performance. Because MAP 112 has DMA capability, (allowing it to write to memory), and because it receives its operands via writes to memory, it is possible to allow a MAP 112 to feed results to another MAP 112. This is a very powerful feature that allows for very extensive pipelining and parallelizing of large tasks, which permits them to complete faster.

Many of the algorithms that may be implemented will receive an operand and require many clock cycles to produce a result. One such example may be a multiplication that takes 64 clock cycles. This same multiplication may also need to be performed on thousands of operands. In this situation, the incoming operands would be presented sequentially so that while the first operand requires 64 clock cycles to produce results at the output, the second operand, arriving one clock cycle later at the input, will show results one clock cycle later at the output. Thus, after an initial delay of 64 clock cycles, new output data will appear on every consecutive clock cycle until the results of the last operand appears. This is called “pipelining”.

In a multiprocessor system, it is quite common for the operating system to stop a processor in the middle of a task, reassign it to a higher priority task, and then return it, or another, to complete the initial task. When this is combined with a pipelined algorithm, a problem arises (if the processor stops issuing operands in the middle of a list and stops accepting results) with respect to operands already issued but not yet through the pipeline. To handle this issue, a solution involving the combination of software and hardware is disclosed herein.

To make use of any type of conventional reconfigurable hardware, the programmer could embed the necessary commands in his application program code. The drawback to this approach is that a program would then have to be tailored to be specific to the MAP hardware. The system of the present invention eliminates this problem. Multiprocessor computers often use software called parallelizers. The purpose of this software is to analyze the user's application code and determine how best to split it up among the processors. The present invention provides significant advantages over a conventional parallelizer and enables it to recognize portions of the user code that represent algorithms that exist in MAPs 112 for that system and to then treat the MAP 112 as another computing element. The parallelizer then automatically generates the necessary code to utilize the MAP 112. This allows the user to write the algorithm directly in his code, allowing it to be more portable and reducing the knowledge of the system hardware that he has to have to utilize the MAP 112.

With reference additionally now to FIG. 4, a block diagram of the MAP control block 132 is shown in greater detail. The control block 132 is coupled to receive a number of command bits (for example, 17) from the address bus 128 at a command decoder 150. The command decoder 150 then supplies a number of register control bits to a croup of status registers 152 on an eight bit bus 154. The command decoder 150 also supplies a single bit last operand flag on line 156 to a pipeline counter 158. The pipeline counter 158 supplies an eight bit output to an equality comparitor 160 on bus 162. The equality comparitor 160 also receives an eight bit signal from the FPGA 134 on bus 136 indicative of the pipeline depth. When the equality comparitor determines that the pipeline is empty, it provides a single bit pipeline empty flag on line 164 for input to the status registers 152. The status registers are also coupled to receive an eight bit status signal from the FPGA 134 on bus 136 and it produces a sixty four bit status word output on bus 166 in response to the signals on bus 136, 154 and line 164.

The command decoder 150 also supplies a five bit control signal to a configuration multiplexer, (“MUX”) 170 as shown. The configuration mux 170 receives a single bit output of a 256 bit parallel-serial converter 172 on line 176. The inputs of the 256 bit parallel-to-serial converter 172 are coupled to a 256 bit user configuration pattern bus 174. The configuration mux 170 also receives sixteen single bit inputs from the configuration ROMs (illustrated as ROM 182) on bus 178 and provides a single bit configuration file signal on line 180 to the user FPGA 134 as selected by the control signals from the command decoder 150 on the bus 168.

In operation, when a processor 108 is halted by the operating system, the operating system will issue a last operand command to the MAP 112 through the use of command bits embedded in the address field on bus 128. This command is recognized by the command decoder 150 of the control block 132 and it initiates a hardware pipeline counter 158. When the algorithm was initially loaded into the FPGA 134, several output bits connected to the control block 132 were configured to display a binary representation of the number of clock cycles required to get through its pipeline (i.e. pipeline “depth”) on bus 136 input to the equality comparitor 160. After receiving the last operand command, the pipeline counter 158 in the control block 132 counts clock cycles until its count equals the pipeline depth for that particular. algorithm. At that point, the equality comparitor 160 in the control block 132 de-asserts a busy bit on line 164 in an internal group of status registers 152. After issuing the last operand signal, the processor 108 will repeatedly read the status registers 152 and accept any output data on bus 166. When the busy flag is de-asserted, the task can be stopped and the MAP 112 utilized for a different task. It should be noted that it is also possible to leave the MAP 112 configured, transfer the program to a different processor 108 and restart the task where it left off

In order to evaluate the effectiveness of the use of the MAP 112 in a given application, some form of feedback to the use is required. Therefore, the MAP 112 may be equipped with internal registers in the control block 132 that allow it to monitor efficiency related factors such as the number of input operands versus output data, the number of idle cycles over time and the number of system monitor interrupts received over time. One of the advantages that the MAP 112 has is that because of its reconfigurable nature, the actual function and type of function that are monitored can also change as the algorithm changes. This provides the user with an almost infinite number of possible monitored factors without having to monitor all factors all of the time.

While there have been described above the principles of the present invention in conjunction with a specific multiprocessor architecture it is to be clearly understood that the foregoing description is made only by way of example and not as a limitation to the scope of the invention. Particularly, it is recognized that the teachings of the foregoing disclosure will suggest other modifications to those persons skilled in the relevant art. Such modifications may involve other features which are already known per se and which may be used instead of or in addition to features already described herein. Although claims have been formulated in this application to particular combinations of features, it should be understood that the scope of the disclosure herein also includes any novel feature or any novel combination of features disclosed either explicitly or implicitly or any generalization or modification thereof which would be apparent to persons skilled in the relevant art, whether or not such relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as confronted by the present invention. The applicants hereby reserve the right to formulate new claims to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom. 

1. A system for processing data using a plurality of reconfigurable processors, the system comprising: a memory subsystem coupled to a data processor and including an addressable memory array; a first reconfigurable processor within the memory subsystem and coupled to the addressable memory array, wherein the first reconfigurable processor is identified to the addressable memory array by a first address, and wherein responsive to a first data value being written at the first address, the first reconfigurable processor performs a first configured function, generates a second data value, and writes the second data value to a second address in the addressable memory array; a second reconfigurable processor within the memory subsystem and coupled to the addressable memory array, wherein the second reconfigurable processor is identified to the addressable memory array by the second address, and wherein, responsive to the second data value being written at the second address, the second reconfigurable processor retrieves the second data and performs a second configured function; a control logic block in the memory subsystem in the communication path between the data processor and the addressable memory array for accessing data at specified addresses within the addressable memory array; a data bus and an address bus connecting the control logic block and the addressable memory array; a communication path between the first reconfigurable processor and the address bus; and a control block in the communication path between the first reconfigurable processor and the address bus, wherein the control block comprises a command decoder for decoding commands from the data processor.
 2. The system of claim 1, further comprising, a pipeline counter for counting clock cycles, an equality comparator for determining whether the output of the pipeline counter corresponds to a predetermined number of clock cycles, and status registers for receiving an output from the equality comparator.
 3. The system of claim 2, wherein the data processor periodically checks the status register.
 4. The system of claim 1, wherein the data processor transmits commands over the address bus.
 5. The system of claim 1, further comprising a communication path between the first reconfigurable processor and the data bus.
 6. A method of data processing using reconfigurable processors, the method comprising: configuring a first reconfigurable processor within a memory subsystem to perform a first function configuring a second reconfigurable processor within a memory subsystem to perform a second function; writing a first data value to a first memory address location in the memory subsystem; reading the first data value into a first reconfigurable processor within the memory subsystem; performing the first function in the first reconfigurable processor using the first data value to generate a second data value; writing the second data value to a second memory address within the memory subsystem; reading the second data value into a second reconfigurable processor within the memory subsystem; and performing the second function in the second reconfigurable processor using the second data value to generate a third data value; wherein configuring the first reconfigurable processor includes a fixed instruction set processor selecting configuration bits corresponding to the first function.
 7. The method of claim 6 wherein the fixed instruction set processor performing a math function.
 8. The method of claim 7 wherein the math function is a 64-bit floating point math function.
 9. The method of claim 6 further comprising: signaling the fixed instruction set processor when the third data value is available.
 10. The method of claim 9 wherein the signaling includes writing a status value to a status register.
 11. The method of claim 6, wherein the third data value is written to a third memory location in the memory subsystem.
 12. The method of claim 6, wherein performing the first function includes multiplying.
 13. The method of claim 6 wherein writing the second data value includes operatively passing the second data value from the first reconfigurable function unit to the second reconfigurable function unit.
 14. The method of claim 6, further comprising: receiving a command to terminate the data processing; counting the number of clock cycles that have elapsed since the command was received; and generating a signal when a predetermined number of clock cycles has passed.
 15. A computer system comprising: at least one processor comprising a fixed instruction set processor; at least one circuit of direct execution logic; a common memory space accessible by said at least one processor and said at least one circuit of direct execution; and a unified executable program comprising a first portion thereof executable by said at least one processor for generating and storing in the common memory a first result and a second portion thereof executable by said at least one circuit of direct execution logic for generating a second result by retrieving and using said first result; wherein said first portion of said unified executable program executable by said at least one processor is resident in said common memory space; and wherein said second portion of said unified executable program is resident in said at least one circuit of direct execution logic.
 16. The computer system of claim 15, wherein said at least one circuit of direct execution logic comprises at least one field programmable gate array.
 17. The computer system of claim 15, wherein said at least one circuit of direct execution logic is operative to access said common memory space independently of said at least one processor.
 18. The computer system of claim 15, wherein said at least one circuit of direct execution logic is programmed to perform at least one identified algorithm on an operand received from said common memory space.
 19. The computer system of claim 15, wherein said at least one identified algorithm is programmed into a memory device associated with said circuit of direct execution logic.
 20. The computer system of claim 19, wherein said memory device comprises at least one read only memory device.
 21. A method for operating a computer system comprising: providing at least one processor; providing at least one circuit of direct execution logic; enabling access by said at least one processor and said at least one circuit of direct execution logic to a common memory space; executing a unified executable program on said computer system such that a first portion of said unified executable program is executable by said at least one processor to generate a first value and a second portion of said unified executable program is executable by said at least one circuit of direct execution logic to generate a second value, wherein said first value is used by said at least one circuit of direct execution to generate said second value; programming said at least one circuit of direct execution logic to perform at least one identified algorithm received from said common memory space; and storing said at least one identified algorithm in a memory device associated with said circuit of direct execution logic.
 22. The method of claim 21, wherein said step of providing at least one processor is carried out by a microprocessor.
 23. The method of claim 21, wherein said step of providing at least one processor is carried out by a fixed instruction set processor.
 24. The method of claim 21, wherein said step of providing at least one circuit of direct execution logic is carried out by at least one field programmable gate array.
 25. The method of claim 21, wherein said common memory space is accessible by said at least one circuit of direct execution logic independently of said at least one processor.
 26. The method of claim 21, wherein said step of storing said at least one identified algorithm is carried out by a read only memory device.
 27. The method of claim 21, further comprising: storing said first portion of said unified executable program in said common memory space.
 28. The method of claim 21, further comprising: storing said second portion of said unified executable program in said at least one circuit of direct execution logic.
 29. The method of claim 21, further comprising: storing said second portion of said unified executable program in at least one field programmable gate array. 